#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main()
{
    vector<int> v(10,1);
    for(auto it=v.begin();it!=v.end();it++){
        *it=2**it;
        cout<<*it<<" ";
    }
    cout<<endl;
}